/**
 * Copyright (c) @2012-2-21 WKM and/or its affiliates. 
 * Use is subject to license terms.
 * All rights reserved.
 */
package org.wkm.task.factory;

import org.wkm.util.CalendarUtil;

/**
 * The class note
 * @version 1.0 @2012-2-21
 * @author WUKUNMENG
 */
public class SchedulerBean {

	//bean的唯一标示
	private String id = null;
	
	//任务名称
	private String name = null;
	
	//定时规则
	private String cron = null;
	
	//提示信息
	private String message = null;
	
	public SchedulerBean(){
		this.id = Long.toString(CalendarUtil.getDateTime());
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
